/**
 * File: CurtainConfigurationProvider.java
 * Created by: mhaimel
 * Created on: 6 Jul 2009
 * CVS:  $Id: CurtainConfigurationProvider.java,v 1.1 2009/08/05 15:16:12 mhaimel Exp $
 */
package uk.ac.ebi.curtain.configuration;

import uk.ac.ebi.velvet.util.config.ConfigFactory;

import com.google.inject.Provider;

/**
 * @author mhaimel
 *
 */
public class CurtainConfigurationProvider implements Provider<CurtainConfig> {

	public CurtainConfig get() {
		ConfigFactory.enablePropertyResource();
		
		CurtainConfig config = new CurtainConfig();
		ConfigFactory.populateBean(config);
		return config;
	}	
}
